package com.kotodama.infrastructure.exception;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 统一错误响应对象
 */
@Data
public class ErrorResponse {
    // Manually add the constructor
    public ErrorResponse(int status, String message, String path, LocalDateTime timestamp) {
        this.status = status;
        this.message = message;
        this.path = path;
        this.timestamp = timestamp;
    }
    private int status;
    private String message;
    private String path;
    private LocalDateTime timestamp;
    // Constructor was moved up
}
